



<div class="x-body">
    <form class="layui-form form_single" id="form" action="{:url()}" method="post">
        <div class="layui-form-item">
            <label for="username" class="layui-form-label">
                <span class="x-red">*</span>玩法分类名称</label>
            <div class="layui-input-block">
                <input type="text" id="username" name="name" onchange="this.value=this.value.substring(0, 50)" onkeydown="this.value=this.value.substring(0, 30)" onkeyup="this.value=this.value.substring(0, 30)" required="" lay-verify="required"
                       autocomplete="off"  value="{$info['name']|default=''}" class="layui-input">
            </div>
            <div style="color: red !important;" class="layui-form-mid layui-word-aux">
                （限制50字符）
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">
                <span class="x-red">*</span> 玩法提示
            </label>
            <div class="layui-input-block">
                <textarea class="form-control textarea_editor" name="description" placeholder=" 玩法提示">{$info['description']|default=''}</textarea>
                {:widget('editor/index', array('name'=> 'description','value'=> ''))}
            </div>
        </div>








        <div class="box-footer">
            <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
            {include file="layout/edit_btn_group"/}

        </div>

    </form>
</div>

<script>




</script>
